package com.kaifamiao.www.demo.Do29.pm;


public class Sub extends Sup {
    String a = "a";
    String b = "b";
    @Override
    public BoyStudent get(Person person){
        System.out.println("sub get(Person person)");
        return null;
    }
    @Override
    public void instanceMethod(){
        System.out.println("Sub::instanceMethod");

    }
    //隐藏了父类中的方法
    public static void staticMethod(){
        System.out.println("Sub:staticMethod");
    }

}
